<template>
    <div class="son">{{father}}</div>
    
</template>
<script>
import { ref } from '@vue/reactivity'
export default {
  props: [
    'father'
  ],
  setup (props,{emit}) { 
    const son = ref('我是儿子要在巴巴里显示')
    console.log(props)
    emit('aa', son)
    return {
      son
    }
  }
}
</script>

